import React from "react";

interface LeftVideoProps {
  videoSrc: string;
}

const LeftVideo: React.FC<LeftVideoProps> = ({ videoSrc }) => {
  const videoContainerStyle = {
    marginLeft: "40px",
  };
  const videoStyle = {
    borderRadius: "15px", // 这里设置15px的圆角，可以根据需要调整
    width: "650px",
    height: "380px",
  };
  return (
    <div style={videoContainerStyle}>
      <video src={videoSrc} controls style={videoStyle}>
        您的浏览器不支持 video 标签。
      </video>
    </div>
  );
};

export default LeftVideo;
